package org.linlinjava.litemall.admin.vo.online_service;


import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author wj
 * @date 2021/9/1 13:39
 */
public class DescriptDoctorListVo {

    @NotNull(message = "服务城市id不能为空")
    private Integer serviceCityId;

    private String doctorName;

    private Integer dpartmentId;

    @NotBlank(message = "时间段不能为空")
    private String timeRange;

    @NotBlank(message = "预约时间不能为空")
    private String date;

    @NotNull(message = "当前页码不能为空")
    @Min(value = 1,message = "当前页码不能小于1")
    private Integer page;

    @NotNull(message = "每页显示条目不能为空")
    @Min(value = 0,message = "每页显示条目不能小于0")
    private Integer limit;

    public Integer getServiceCityId() {
        return serviceCityId;
    }

    public void setServiceCityId(Integer serviceCityId) {
        this.serviceCityId = serviceCityId;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public Integer getDpartmentId() {
        return dpartmentId;
    }

    public void setDpartmentId(Integer dpartmentId) {
        this.dpartmentId = dpartmentId;
    }

    public String getTimeRange() {
        return timeRange;
    }

    public void setTimeRange(String timeRange) {
        this.timeRange = timeRange;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }
}
